package com.naiterui.ehp.bs.esign.api.netrain.config;

import com.naiterui.ehp.bp.constants.EsignServiceProviderEnum;
import com.naiterui.ehp.bs.esign.api.ISignService;
import com.naiterui.ehp.bs.esign.api.netrain.service.SignServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;

/**
 * @author guoyongxiang
 * @date 2020/1/13 20:30
 * @since 1.0.0
 */
@Slf4j
public class NetrainAutoConfiguration {

    @Bean
    public ISignService signService(){
        log.info("加载签名厂商 {}", EsignServiceProviderEnum.NETRAIN.getProviderName());
        return new SignServiceImpl();
    }
}
